<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>SystemSharp: SystemSharp.Components.Time Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">SystemSharp
   &#160;<span id="projectnumber">0.3</span>
   </div>
   <div id="projectbrief">A system-level modeling framework for designing real-time embedded systems</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_system_sharp_1_1_components_1_1_time.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Properties</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Events</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_system_sharp_1_1_components_1_1_time-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SystemSharp.Components.Time Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This class encodes a time or period of time which is specified as a pair of value and time unit.  
 <a href="class_system_sharp_1_1_components_1_1_time.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for SystemSharp.Components.Time:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_system_sharp_1_1_components_1_1_time.png" usemap="#SystemSharp.Components.Time_map" alt=""/>
  <map id="SystemSharp.Components.Time_map" name="SystemSharp.Components.Time_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a65efdde514e58c40429cdab6545e0f97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a65efdde514e58c40429cdab6545e0f97">Time</a> (double value, <a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a> unit)</td></tr>
<tr class="memdesc:a65efdde514e58c40429cdab6545e0f97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a time specification.  <a href="#a65efdde514e58c40429cdab6545e0f97">More...</a><br/></td></tr>
<tr class="separator:a65efdde514e58c40429cdab6545e0f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2a7f22e6eb6e7255e3e785138f8f9e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_system_sharp_1_1_components_1_1_i_awaitable.html">IAwaitable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#af2a7f22e6eb6e7255e3e785138f8f9e7">GetAwaiter</a> ()</td></tr>
<tr class="memdesc:af2a7f22e6eb6e7255e3e785138f8f9e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Part of await pattern implementation.  <a href="#af2a7f22e6eb6e7255e3e785138f8f9e7">More...</a><br/></td></tr>
<tr class="separator:af2a7f22e6eb6e7255e3e785138f8f9e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0f6da6a554e451d0b1805b426c9ad3f"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#ad0f6da6a554e451d0b1805b426c9ad3f">ScaleTo</a> (<a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a> destUnit)</td></tr>
<tr class="memdesc:ad0f6da6a554e451d0b1805b426c9ad3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Expresses the encoded time in a different unit.  <a href="#ad0f6da6a554e451d0b1805b426c9ad3f">More...</a><br/></td></tr>
<tr class="separator:ad0f6da6a554e451d0b1805b426c9ad3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86d82258ce02f34803ee5fc4c1160661"><td class="memItemLeft" align="right" valign="top">override string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a86d82258ce02f34803ee5fc4c1160661">ToString</a> ()</td></tr>
<tr class="separator:a86d82258ce02f34803ee5fc4c1160661"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25652ea109316912e8ba0b6dfefc5c85"><td class="memItemLeft" align="right" valign="top">override int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a25652ea109316912e8ba0b6dfefc5c85">GetHashCode</a> ()</td></tr>
<tr class="separator:a25652ea109316912e8ba0b6dfefc5c85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33b14e2d624a36e98afbb5e96dbddb16"><td class="memItemLeft" align="right" valign="top">override bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a33b14e2d624a36e98afbb5e96dbddb16">Equals</a> (object obj)</td></tr>
<tr class="memdesc:a33b14e2d624a36e98afbb5e96dbddb16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests this object for equality with another object.  <a href="#a33b14e2d624a36e98afbb5e96dbddb16">More...</a><br/></td></tr>
<tr class="separator:a33b14e2d624a36e98afbb5e96dbddb16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5e481e74c4415f50706cd1d2ddd55d8"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#aa5e481e74c4415f50706cd1d2ddd55d8">CompareTo</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> other)</td></tr>
<tr class="memdesc:aa5e481e74c4415f50706cd1d2ddd55d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares this time to another time.  <a href="#aa5e481e74c4415f50706cd1d2ddd55d8">More...</a><br/></td></tr>
<tr class="separator:aa5e481e74c4415f50706cd1d2ddd55d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a150dcd910b22575f9c7dfbc66ef09ca5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a150dcd910b22575f9c7dfbc66ef09ca5">operator+</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:a150dcd910b22575f9c7dfbc66ef09ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa64d7211569d2e8caaf8a870eeadcb5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#afa64d7211569d2e8caaf8a870eeadcb5">operator-</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:afa64d7211569d2e8caaf8a870eeadcb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c525eef2372a523c713c033ccc024f8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a5c525eef2372a523c713c033ccc024f8">operator*</a> (double scale, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> time)</td></tr>
<tr class="memdesc:a5c525eef2372a523c713c033ccc024f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Scales a time by a factor.  <a href="#a5c525eef2372a523c713c033ccc024f8">More...</a><br/></td></tr>
<tr class="separator:a5c525eef2372a523c713c033ccc024f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c6151b6780fd58d5a91bcf12653bfcf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a7c6151b6780fd58d5a91bcf12653bfcf">operator/</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> time, double quot)</td></tr>
<tr class="memdesc:a7c6151b6780fd58d5a91bcf12653bfcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Divides a time by a value.  <a href="#a7c6151b6780fd58d5a91bcf12653bfcf">More...</a><br/></td></tr>
<tr class="separator:a7c6151b6780fd58d5a91bcf12653bfcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2488888b2d52a9772d9b167bde6dfa5b"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a2488888b2d52a9772d9b167bde6dfa5b">operator/</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> time1, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> time2)</td></tr>
<tr class="separator:a2488888b2d52a9772d9b167bde6dfa5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab021ab0a8b8653642ff4517636e4f9e1"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#ab021ab0a8b8653642ff4517636e4f9e1">operator&lt;</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:ab021ab0a8b8653642ff4517636e4f9e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35b5f046445dd264d0de2bbffbe330d5"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a35b5f046445dd264d0de2bbffbe330d5">operator&lt;=</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:a35b5f046445dd264d0de2bbffbe330d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb7cb013c34bb7bd3b723391394ec1c6"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#afb7cb013c34bb7bd3b723391394ec1c6">operator&gt;</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:afb7cb013c34bb7bd3b723391394ec1c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f36a98e54adbeab0264f0808e7a068e"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a0f36a98e54adbeab0264f0808e7a068e">operator&gt;=</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:a0f36a98e54adbeab0264f0808e7a068e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4778b3fb0f414e08b90bea510215d39a"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a4778b3fb0f414e08b90bea510215d39a">operator==</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:a4778b3fb0f414e08b90bea510215d39a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40b6e33acd9325f634e49dd1e8f48072"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a40b6e33acd9325f634e49dd1e8f48072">operator!=</a> (<a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> a, <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> b)</td></tr>
<tr class="separator:a40b6e33acd9325f634e49dd1e8f48072"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa4cd793d0ef4e4396992f1424b70e8d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#aaa4cd793d0ef4e4396992f1424b70e8d">Create</a> (double value, <a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a> unit)</td></tr>
<tr class="memdesc:aaa4cd793d0ef4e4396992f1424b70e8d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a time instance.  <a href="#aaa4cd793d0ef4e4396992f1424b70e8d">More...</a><br/></td></tr>
<tr class="separator:aaa4cd793d0ef4e4396992f1424b70e8d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a6ade0b407f24869d491eeb3cf3021b41"><td class="memItemLeft" align="right" valign="top">static readonly <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a6ade0b407f24869d491eeb3cf3021b41">Infinite</a> = new <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>(double.PositiveInfinity, ETimeUnit.sec)</td></tr>
<tr class="memdesc:a6ade0b407f24869d491eeb3cf3021b41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Depicts an infinite time span or a point in which is time infinitely in the future. Added by Mário Ferreira  <a href="#a6ade0b407f24869d491eeb3cf3021b41">More...</a><br/></td></tr>
<tr class="separator:a6ade0b407f24869d491eeb3cf3021b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a690cad4c32246d7ddc32da10a5ededf4"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a690cad4c32246d7ddc32da10a5ededf4">Value</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a690cad4c32246d7ddc32da10a5ededf4"><td class="mdescLeft">&#160;</td><td class="mdescRight">The value.  <a href="#a690cad4c32246d7ddc32da10a5ededf4">More...</a><br/></td></tr>
<tr class="separator:a690cad4c32246d7ddc32da10a5ededf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a497ec9e914adbba3470b0e103f104977"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a497ec9e914adbba3470b0e103f104977">Unit</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a497ec9e914adbba3470b0e103f104977"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time unit.  <a href="#a497ec9e914adbba3470b0e103f104977">More...</a><br/></td></tr>
<tr class="separator:a497ec9e914adbba3470b0e103f104977"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29e2d6aabf6bf3526746bc77f14c0ef3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html#a29e2d6aabf6bf3526746bc77f14c0ef3">IsInfinite</a><code> [get]</code></td></tr>
<tr class="memdesc:a29e2d6aabf6bf3526746bc77f14c0ef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true </code>if time lies infinitely in the future  <a href="#a29e2d6aabf6bf3526746bc77f14c0ef3">More...</a><br/></td></tr>
<tr class="separator:a29e2d6aabf6bf3526746bc77f14c0ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This class encodes a time or period of time which is specified as a pair of value and time unit. </p>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00222">222</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a65efdde514e58c40429cdab6545e0f97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SystemSharp.Components.Time.Time </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a>&#160;</td>
          <td class="paramname"><em>unit</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a time specification. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The value</td></tr>
    <tr><td class="paramname">unit</td><td>The unit</td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00295">295</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa5e481e74c4415f50706cd1d2ddd55d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SystemSharp.Components.Time.CompareTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compares this time to another time. </p>
<p>If the time units don't match, the values get scaled accordingly. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>The time to which this time should be compared</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>0 if both times specify the same physical time, -1 if this time is shorter, 1 if it is longer</dd></dl>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00400">400</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="aaa4cd793d0ef4e4396992f1424b70e8d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> SystemSharp.Components.Time.Create </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a>&#160;</td>
          <td class="paramname"><em>unit</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a time instance. </p>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00484">484</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a33b14e2d624a36e98afbb5e96dbddb16"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override bool SystemSharp.Components.Time.Equals </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>obj</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tests this object for equality with another object. </p>
<p>Two time representations are defined to be equal iff both unit and value match. Therefore, 0.1sec and 100ms are NOT the same. To check whether two <a class="el" href="class_system_sharp_1_1_components_1_1_time.html" title="This class encodes a time or period of time which is specified as a pair of value and time unit...">Time</a> instances actually represent the same physical time, use <a class="el" href="class_system_sharp_1_1_components_1_1_time.html#aa5e481e74c4415f50706cd1d2ddd55d8" title="Compares this time to another time. ">CompareTo()</a> instead. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>The object to which this object should be compared</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if both objects are equal, false if not</dd></dl>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00371">371</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="af2a7f22e6eb6e7255e3e785138f8f9e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_system_sharp_1_1_components_1_1_i_awaitable.html">IAwaitable</a> SystemSharp.Components.Time.GetAwaiter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Part of await pattern implementation. </p>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00308">308</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a25652ea109316912e8ba0b6dfefc5c85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override int SystemSharp.Components.Time.GetHashCode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00356">356</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a40b6e33acd9325f634e49dd1e8f48072"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.Time.operator!= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00476">476</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a5c525eef2372a523c713c033ccc024f8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> SystemSharp.Components.Time.operator* </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>time</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Scales a time by a factor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">scale</td><td>The scaling factor</td></tr>
    <tr><td class="paramname">time</td><td>The time to be scaled</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The scaled time</dd></dl>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00429">429</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a150dcd910b22575f9c7dfbc66ef09ca5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> SystemSharp.Components.Time.operator+ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00413">413</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="afa64d7211569d2e8caaf8a870eeadcb5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> SystemSharp.Components.Time.operator- </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00418">418</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a7c6151b6780fd58d5a91bcf12653bfcf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> SystemSharp.Components.Time.operator/ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>quot</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Divides a time by a value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">time</td><td>The time to be divided.</td></tr>
    <tr><td class="paramname">quot</td><td>The divider</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The divided time</dd></dl>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00440">440</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a2488888b2d52a9772d9b167bde6dfa5b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static double SystemSharp.Components.Time.operator/ </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>time1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>time2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00445">445</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ab021ab0a8b8653642ff4517636e4f9e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.Time.operator&lt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00451">451</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a35b5f046445dd264d0de2bbffbe330d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.Time.operator&lt;= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00456">456</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a4778b3fb0f414e08b90bea510215d39a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.Time.operator== </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00471">471</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="afb7cb013c34bb7bd3b723391394ec1c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.Time.operator&gt; </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00461">461</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a0f36a98e54adbeab0264f0808e7a068e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static bool SystemSharp.Components.Time.operator&gt;= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00466">466</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="ad0f6da6a554e451d0b1805b426c9ad3f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double SystemSharp.Components.Time.ScaleTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a>&#160;</td>
          <td class="paramname"><em>destUnit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Expresses the encoded time in a different unit. </p>
<p><code>new <a class="el" href="class_system_sharp_1_1_components_1_1_time.html" title="This class encodes a time or period of time which is specified as a pair of value and time unit...">Time</a>(42.0, ETimeUnit.sec).ScalteTo(ETimeUnit.ms)</code> returns 42000.0 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destUnit</td><td>The destination time unit</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value in terms of the destination time unit.</dd></dl>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00321">321</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a86d82258ce02f34803ee5fc4c1160661"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">override string SystemSharp.Components.Time.ToString </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00351">351</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a6ade0b407f24869d491eeb3cf3021b41"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">readonly <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a> SystemSharp.Components.Time.Infinite = new <a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a>(double.PositiveInfinity, ETimeUnit.sec)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Depicts an infinite time span or a point in which is time infinitely in the future. Added by Mário Ferreira </p>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00277">277</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a29e2d6aabf6bf3526746bc77f14c0ef3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SystemSharp.Components.Time.IsInfinite</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns <code>true </code>if time lies infinitely in the future </p>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00386">386</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a497ec9e914adbba3470b0e103f104977"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_system_sharp_1_1_components.html#a00364849637999f74d55598b116750c8">ETimeUnit</a> SystemSharp.Components.Time.Unit</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The time unit. </p>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00287">287</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<a class="anchor" id="a690cad4c32246d7ddc32da10a5ededf4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double SystemSharp.Components.Time.Value</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The value. </p>

<p>Definition at line <a class="el" href="_components_core_8cs_source.html#l00282">282</a> of file <a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="_components_core_8cs_source.html">ComponentsCore.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_system_sharp.html">SystemSharp</a></li><li class="navelem"><a class="el" href="namespace_system_sharp_1_1_components.html">Components</a></li><li class="navelem"><a class="el" href="class_system_sharp_1_1_components_1_1_time.html">Time</a></li>
    <li class="footer">Generated on Thu Dec 26 2013 14:22:00 for SystemSharp by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
